Anti-lock braking system with separate front and rear safety devices