### Question:
ExpressionRewriteRuleSet { public Rule<?> filterExpressionRewrite() { return new FilterExpressionRewrite(rewriter); } ExpressionRewriteRuleSet(ExpressionRewriter rewriter); Set<Rule<?>> rules(); Rule<?> projectExpressionRewrite(); Rule<?> aggregationExpressionRewrite(); Rule<?> filterExpressionRewrite(); Rule<?> joinExpressionRewrite(); Rule<?> valuesExpressionRewrite();  }### Answer:
@Test public void testFilterExpressionRewrite() { tester().assertThat(zeroRewriter.filterExpressionRewrite()) .on(p -> p.filter(new LongLiteral("1"), p.values())) .matches( filter("0", values())); }
@Test public void testFilterExpressionNotRewritten() { tester().assertThat(zeroRewriter.filterExpressionRewrite()) .on(p -> p.filter(new LongLiteral("0"), p.values())) .doesNotFire(); }