implementation of rewrite module

I finished a running implementation of a rewrite module with a simple interface integrated into the webserver.xml as an example