public Map<String, ReplicationRule> getRules() {
        return rules;
    }
Returns the replication rules associated with this Amazon S3 bucket.

@return the replication rules associated with this Amazon S3 bucket.
aws-java-sdk-s3/src/main/java/com/amazonaws/services/s3/model/BucketReplicationConfiguration.java