public List<Rule> getRules() {
        return rules;
    }
Gets the rules contained within this tree.

@return the rules within this tree.
smithy-rules-engine/src/main/java/software/amazon/smithy/rulesengine/language/syntax/rule/TreeRule.java