I would use hot glue as well easier in the long run. I would not think rubber cement is a good idea it uses some serious solvents.

Just for reference

GE SCS 1200 silicone is one of the structural silicone used to make aquariums. Once fully cured it is animal safe.