Update firewall.py

add Policy class