Rabat - The Mercer firm has published its 2017 ranking of cities with the best quality of life, featuring Rabat and Casablanca for the second year in a row.