config add rewrite