public List<Rule> getRules() {
        return rules;
    }
Gets the list of {@link Rule}s defined in this rule-set.

@return the rules defined in this rule-set.
smithy-rules-engine/src/main/java/software/amazon/smithy/rulesengine/language/EndpointRuleSet.java