Preparing rewrite message processor.