organizing application of rules.