Pond Foam Background Question

One of the rocks I secured with the foam on eggcrate background has unattached. Is their any glue or silicon that will adhere to the foam and the rock?
 
Top