Taihō Code
The Taihō Code had two kinds of laws.  It had ritsu which were laws about crime and how to arrest people.  It had ryō, which were laws about how to run the government.  For example, the ryō said which areas were provinces and who would run them and what things the governors were and were not allowed to do.