You are talking about this rule:
The number of crossing between TC2 (Europe/Africa) and TC3 (Asia) has been restricted for RWSTAR tickets to only one. Because CAI & DXB are in TC2 both itineraries are fine (you know, that there is only one stopover at DXB allowed).