Add the localhost rule to url match