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.
Merge pull request #39 from nicam/master

FIX issue when no ip's are set