Ast rewriter for transforming ORs of Equals to IN collection [DO NOT MERGE]