remove pattern matcher, rewriter, and meta