Actually what I wrote was working really fine. My mistake was that I have script file that set's all my rules so I can just reset it instantly. What i forgot was saving the iptables before restart (facepalm)
iptables-save | sudo tee /etc/sysconfig/iptables
Always remember! Save your iptables config before restart!