Rocks are fine. In fact I think they prefer it rather then sand? When I had mangroves in my old setup, I just jammed the base in a rock hole and the roots would grow within the rock tunnels. I never trimmed them. Just pulled of any dead or dying leaves. It is important to remove any dead leaves floating in the water as they will affect water parameters.