Add Rules, RuleItem classes for folder rules.