#1202 StackOverflowError in RuleSetReferenceId