Merge "Fix a bug in RuleIndexingController where StackOverflowError occurs" into sc-dev