Move publishing model rule to class rule source.
Add license header.
Remove remaining use of ModelRule.
Remove ModelRule.
Remove ModelRules and friends.