Why what the rules set down by Hammurabi were important step in the development of civilization in mesopotamia?

They were the first written codified laws that all could see.