public Builder rules(Collection<Rule> rules) {
            this.rules.clear();
            this.rules.get().addAll(rules);
            return this;
        }
Add rules to this ruleset. The rules be evaluated if all previous rules do not match.

@param rules The Collection of {@link Rule} to add
@return the {@link Builder}
smithy-rules-engine/src/main/java/software/amazon/smithy/rulesengine/language/EndpointRuleSet.java