What is a set of written laws that apply to everyone under a government?

A 'code of law'