RuleMap now computed only once