updated RewriteRule support