HTTPS redirect problem

How did you add rules, Did you follow this guide?