Adding basic iptables state with append function

This addresses, but does not resolve #3597. Please do not merge this without very carefully considering it. Really, only @thatch45 should be merging this.