A former head of the Australian Competition and Consumer Commission is warning of petrol rationing should the Iran war continue.