Maximal rectangular relations