Originally Posted by judoka
I've actually saved the rules.
If you mean that you used iptables-save to save the rules while they were still in a good state, you could use its companion iptables-restore to restore them (see the man pages for options). If you did something else, the formats may not be exactly what is required for iptables-restore. You could fix that, I suppose...