How to allow only a specific IP address for an application?

So, I have CIS Firewall set to “Custom Policy Mode”. I get the normal popup when an app tries to access the internet, but when I press “allow”, instead of allowing only the connection listed in the popup, it creates a rule that allows all access.

How do I make CIS create a rule that allows only the connection listed in the popup?

Thanks!
Jeff.

Nevermind. I found the answer here:

https://forums.comodo.com/firewall_bugs/firewall_permits_full_access_when_only_specific_ip_and_ports_should_be_allowed-t33258.0.html