Rabat agree to explore for oil in Morocco