Correct SSL rewrite rules