Any system of rules or regulations relating to one subject;
   as, the medical code, a system of rules for the regulation of the
   professional conduct of physicians; the naval code, a system of rules
   for making communications at sea means of signals.