// Token: 0x060024EE RID: 9454 RVA: 0x000A0FB8 File Offset: 0x0009F1B8
 private void SetData(RuleChoiceMask choiceAvailability, RuleBook ruleBook)
 {
     if (choiceAvailability.Equals(this.cachedRuleChoiceMask) && ruleBook.Equals(this.cachedRuleBook))
     {
         return;
     }
     this.cachedRuleChoiceMask.Copy(choiceAvailability);
     this.cachedRuleBook.Copy(ruleBook);
     for (int i = 0; i < RuleCatalog.categoryCount; i++)
     {
         this.categoryControllers[i].SetData(RuleCatalog.GetCategoryDef(i), this.cachedRuleChoiceMask, this.cachedRuleBook);
         this.categoryControllers[i].gameObject.SetActive(!this.categoryControllers[i].shouldHide);
     }
 }