FIX issue when no ip's are set

When no ip's are set on the rule a warning is outputted and no headers are added to the request.