Add rewrite rules for SSL
Correct rewrite rules