Schools in the United Arab Emirates were ordered to shut on Wednesday after rare heavy rain hit the desert Gulf state, causing flights to be suspended and flooding roads.