Fix deploy-irules scripts for publish.