The law of Virginia consists of several levels of legal rules, including constitutional, statutory, regulatory, case law, and local laws. The Code of Virginia contains the codified legislation that define the general statutory laws for the Commonwealth.