Compositional Grammar expressions can be automatically validated to ensure that they conform to a variety of rules, including: