I'm glad you're OK. It must've been so scary to have that happen. The laws are the same here in that the driver behind is always at fault, but doesn't protect you against people in front who do weird stuff by surprise.