kill the hydroids keep the rock, im actively doing it in my tank as we speak i can get some pix later.
high percentage peroxide, not pharmacy water but health food lab grade kills them and not the filter bacteria or anything else.
Not dosed in tank but removed target runs, lift out
retreatments are based on permeation and a few rounds are needed. the reason i mention such a dangerous chemical is because my child could buy it over the counter at a healthfood store, so not mentioning it doesnt take that fact away, its avail, and quite useful, and you should wear eye protection and gloves and treat it like you are handling battery acid lol. it is easy to control, i use it frequently~
I think you shouldnt kill the rock even if you can't beat them all, those are just part of the normal benthics that various fishes and crabs would be picking at from time to time, we are only trained they are bad. they aren't harming or stinging anything in my tank/ they are harmful to baby zosterae seahorses so unless they are a goal id keep that pristine rock regardless.
only massive algae issues would make me think different, old rock has character. hydroids can easily be re imported so i dont like bleaching and losing all that color without trying a live time save.
if you can lift out that rock and spot apply, they die, nothing else does, im doing this in a ten year old one gallon reef packed w life, w 35% peroxide causing no harm.