RuleMap fully integrated into code