Fix healthcheck script to not duplicate rules if run twice