Troubleshoot rewrite engine