public java.util.List<BackupRule> getRules() {
        return rules;
    }
<p>
An array of <code>BackupRule</code> objects, each of which specifies a scheduled task that is used to back up a
selection of resources.
</p>

@return An array of <code>BackupRule</code> objects, each of which specifies a scheduled task that is used to
        back up a selection of resources.
aws-java-sdk-backup/src/main/java/com/amazonaws/services/backup/model/BackupPlan.java