that rubbing you talk of is called "flashing" that is how they scratch if they have an itch. but it can be a sign of more serious problems such as parasites,leaches,or a number of other things irritating their skin. if one or two do it occasionally its probably nothing to worry about, but if more are doing it and doing it frequently you may have a problem to deal with. there is medications you can add to the pond to treat, but you dont want to blindly start dumping chemicals in either. but you say the majority are flashing... good chance you have parasites. probably brought in with an unquarentined fish,or a plant you purchased. even visiting ducks and other birds can bring them, you never know where theyve been. i dont allow ducks in my pond for that very reason. look into it because this can lead to bacterial infections as the remove their slime coat from the flashing. that is their natural barrier to infection.
p.s can i ask if you have rocks on the bottom of your pond, just curious?