Fixed bug related to 'any' rule. Works as expected now. TODO icmp rules and take out these print statements everywhere.