Rabat fights through problems to rostrum