There is no rule of thumb per se regarding tipping in Morocco. Moroccans themselves might only leave a few dirhams on a 150 dirhams dinner bill. At many of the upmarket restaurants in the tourist areas they will add 10% to the bill, therefore check your bill.