Test with the live iptables state. Then you can save it with iptables-save > rules.v4
Why do you need a wrapper at all? I looked at shorewall ten years ago and it just made everything more complicated than just doing it raw.
Term is also nice because it still uses iptables syntax.