If under water attachment is needed and you can't pull the rock out for glueing then you can also use a Marine Epoxy. It will cure under water.