I suspect this to be a piece of Crinoidal Limestone, though picture quality is not of desired expectation - Do check CaCO3 and other skeletal elements like Coral remains.
I agree that a better photo might help. Anyway, working with the present images, the fossils look much more like partially disarticulated crinoid stems than any coral remain. Hakima, "Morocco" is quite a wide location to get any approach to the question, but nice examples of crinoidal limestones occur in Morocco from the basal Devonian on.
I concur with the other entries, Hakima -- your rock from Moroc (!) is very likely a crinoidal limestone or dolostone; more can be read and the original fossil organism can be seen at: http://palaeo.gly.bris.ac.uk/palaeofiles/fossilgroups/crinoidea/page4.html
We can see crinoid columnal associations. As noted by colleagues, we can speak of Crinoidal Limestone that may be distinguished from other limestones due to the presence of large quantities of fossils (Corals, Brachiopods, Foraminiferan tests and Mollusks). So, making a thin section can provide more details.
Hakima, What was the result of putting some drops of HCl (hydrochloric acid - 10% strength solution) on the rock? Did it fizz vigorously, or not at all? If not, then maybe scratch the surface on a small flat area (using a knife) until you have a small amount of powder made from the scratching. Place the HCl solution on the powder, to observe if it fizzes slowly (indication of dolomite).
As you said, a thin section of this rock will be very useful to be sure for the nomination. If i prepare it, i will tell you about the result and posting their pictures.
If you want to see a very clear picture, you can save the picture to your computer and then reopen it with a picture tool (as ACDsee ). The two picture have been high - resolution photography. Just right-click on picture and then choose saving the picture.