ordering of rules