docs: public void setRulePriorities(java.util.Collection<RulePriorityPair> rulePriorities) {
          if (rulePriorities == null) {
              this.rulePriorities = null;
              return;
          }
  
          this.rulePriorities = new java.util.ArrayList<RulePriorityPair>(rulePriorities);
      }