ability to generate as non-root user

I wanted to be able to:

A: test that my syntax is valid
B: check that the generated iptables output looks usable.

I didn't want or need to do this is a root.