Add Rule, RuleAttribute and RuleAttributeValue classes.