Removed a bunch of uneccessary URL Rewrite code, made it much simpler