docs: public void setRequired(RuleProxyField ruleProxyField,
              RuleContext ruleContext)
      {
          {
              if (!ruleProxyField.isRequired()) // only do it if the field changes
              {
                  m_requiredFields.add(ruleProxyField.getProxyField());
                  ruleContext.addRequired(ruleProxyField);
              }
          }
      }