Algae and rockwool go hand in hand.
It needs light to grow, so preventing light from hitting the surface is a good start.
Usually it is simply cosmetic, but yes, if it gets out of hand to the point where it starts to rot, you have a problem.
I'm not a hydro nut but there are other threads about fixing this in the hydro section.