I think I've managed to read and compile the firewall rules properly