public void setPatchRules(java.util.Collection<PatchRule> patchRules) {
        if (patchRules == null) {
            this.patchRules = null;
            return;
        }

        this.patchRules = new com.amazonaws.internal.SdkInternalList<PatchRule>(patchRules);
    }
<p>
The rules that make up the rule group.
</p>

@param patchRules
       The rules that make up the rule group.
aws-java-sdk-ssm/src/main/java/com/amazonaws/services/simplesystemsmanagement/model/PatchRuleGroup.java