A flock of birds gather on a rock in the water.
a flock of birds are resting on some rocks 
A group of birds standing on a rock in the middle of the ocean
some birds sitting on a rock in the middle of the water 
A flock of seagulls are perched on rocks on the water.