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

        this.rules = new java.util.ArrayList<DataRetrievalRule>(rules);
    }
<p>
The policy rule. Although this is a list type, currently there must be only one rule, which contains a Strategy
field and optionally a BytesPerHour field.
</p>

@param rules
       The policy rule. Although this is a list type, currently there must be only one rule, which contains a
       Strategy field and optionally a BytesPerHour field.
aws-java-sdk-glacier/src/main/java/com/amazonaws/services/glacier/model/DataRetrievalPolicy.java