@Override
    public Stream<R> visitEndpointRule(Endpoint endpoint) {
        return visitEndpoint(endpoint);
    }
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