Save rules so they can be restored when rebooting