Plane diverted to Rockhampton airport amid heavy rain