presto-main/src/main/java/io/prestosql/sql/planner/iterative/RuleIndex.java/Builder/build
class Builder:        public RuleIndex build()
        {
            return new RuleIndex(rulesByRootType.build());
        }