codify

verb

Arrange (laws or rules) into a systematic code.