added rules for https too