code: public void setPatchRules(java.util.Collection<PatchRule> patchRules) {
          if (patchRules == null) {
              this.patchRules = null;
              return;
          }
  
          this.patchRules = new com.amazonaws.internal.SdkInternalList<PatchRule>(patchRules);
      }
docs: <p>
  The rules that make up the rule group.
  </p>
  
  @param patchRules
  The rules that make up the rule group.