presto-main/src/main/java/io/prestosql/sql/planner/iterative/RuleIndex.java/RuleIndex/register
class RuleIndex:        public Builder register(Set<Rule<?>> rules)
        {
            rules.forEach(this::register);
            return this;
        }