They don't look like the typical hydroids that cause problems that I have come across. If the rock is easy to get out, pull it out. Then put in a bucket of water, use tweezers to manually remove them. If you can't get the rock out easily, you can remove inside the tank. Just be sure to pull from the base, so you get the stalk and the head completely off.