One famous rule is an eye for an eye, a tooth for a tooth. That means that if someone pokes someone's eye out theirs will be poked out. That also goes for anything. I think it was important because then every thing might be peaceful.
It also might be unfair. It might be unfair because the laws are too hard to follow. If a surgeon makes an incision and the patient heals he gets paid. If the patient dies his hands will be cut off.