codify

verb
  1. to arrange laws, rules, or principles into a systematic code
  2. to put something into a systematic form

Examples