You can fill in the rotted areas with something like "JB Weld 8257CAN KwikWood Wood Repair ", it is an epoxy product, so it will require UV protection on top. Just dig out all the rot and fill/shape.
The rest of the gunnels can just be sanded back, followed by a few coats of a good marine...