Transformed expected URL pattern into a constant regex at the top of the rule.

Being a bit more flexible with that pattern now; eg HTTPS is fine, case insensitive.

Formatting URL in warning using <code>.