private Stream<R> handleRule(Rule rule) {
        Stream<R> fromConditions = visitConditions(rule.getConditions());
        return Stream.concat(fromConditions, rule.accept(this));
    }
Given an {@link EndpointRuleSet} will invoke the visitor methods for each rule.

@param ruleset the endpoint rule-set to traverse.
@return a stream of values.
smithy-rules-engine/src/main/java/software/amazon/smithy/rulesengine/language/TraversingVisitor.java