Adding inbound and outbound rules