updated iprules.sh

add restore step after setup firewall rules.
in order to enable network access if anything wrong.