presto-main/src/main/java/io/prestosql/sql/planner/iterative/rule/SimplifyExpressions.java/SimplifyExpressions/rules
class SimplifyExpressions:    @Override
    public Set<Rule<?>> rules()
    {
        return ImmutableSet.of(
                projectExpressionRewrite(),
                filterExpressionRewrite(),
                joinExpressionRewrite(),
                valuesExpressionRewrite()); // ApplyNode and AggregationNode are not supported, because ExpressionInterpreter doesn't support them
    }