Add proc as a means of defining a rewriter ignore. Closes #1289