Moved redirect rules from web.config into managed code