code: public PatchRuleGroup withPatchRules(PatchRule... patchRules) {
          if (this.patchRules == null) {
              setPatchRules(new com.amazonaws.internal.SdkInternalList<PatchRule>(patchRules.length));
          }
          for (PatchRule ele : patchRules) {
              this.patchRules.add(ele);
          }
          return this;
      }
docs: <p>
  The rules that make up the rule group.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setPatchRules(java.util.Collection)} or {@link #withPatchRules(java.util.Collection)} if you want to
  override the existing values.
  </p>
  
  @param patchRules
  The rules that make up the rule group.
  @return Returns a reference to this object so that method calls can be chained together.