public void setRules(java.util.Collection<Rule> rules) {
        if (rules == null) {
            this.rules = null;
            return;
        }

        this.rules = new java.util.ArrayList<Rule>(rules);
    }
<p>
The rules used for the updated Call Analytics category. The rules you provide in this field replace the ones that
are currently being used in the specified category.
</p>

@param rules
       The rules used for the updated Call Analytics category. The rules you provide in this field replace the
       ones that are currently being used in the specified category.
aws-java-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/UpdateCallAnalyticsCategoryRequest.java