Whoops, one RuleFactory class is enough.