manual: http://tuckey.org/urlrewrite/manual/4.0/
1. If you want to take into account the url query parameters to the filter rules
add use-query-string="true" to <urlrewrite use-query-string="true" >
2. Normal the rule <from> <to> will not involve Context, so you will lose the context after rewrite
add use-context="true" to <urlrewrite use-query-string="true" use-context="true" >