Codify

Organize into a code or system, such as a body of law