Insert the iptable INPUT, OUTPUT rules at the top not at the bottom

Change-Id: Iacdf8923b8bfcafbf9fb5fd7deeb7c4b75f02014