this command will help you get rid of all the rules contained within an iptables table.

#iptables -F

the -F option menas to flush

-F, --flush [chain]
Flush the selected chain (all the chains in the table if none is given). This is equivalent to deleting all the rules one by one.