You have to consult rule sheet.
To be clear, you have to distinguish 'Europe/Middle East continent', 'Europe', and 'Middle East'.
4. Flight Application/Routings
(e) Only one intercontinental departure and one intercontinental arrival permitted in each continent except as follows:
3. Two permitted in Europe/Middle East for travel to/from/via Africa.
If travel is to/from Europe in both directions, itinerary may not include Mauritius/South Africa.
You end in South Africa, So you can't do 'to/from Europe in both directions'.
In other words, you can do 'to OR from Europe in one direction, and to OR from Middle East in one direction',
OR, 'to/from Middle East in both directions'.