Ast rewriter for transforming ORs of Equals to IN collection