If you were rear-ended, the other person is at fault.  Their insurance should cover any losses that you sustained.  Was a police report filed?  Have you talked to your insurance (or the other persons insurance) to let them know the damage to your mac?\

BTW - glad to hear that you are ok.  Bruises will heal.