Create operating rules for hapi