add rewrite rule snippet.