add rewrite modules