In flight control designs for lateral directional movement, there is a block named "gravity compensation". This block changes yaw rate measurement from "$r$" to "$r-g/Vcos(\theta)sin(\phi)$" before it is sent to the controller. How does this block change the equation of motion?
That term is a feedforward.
It simply makes sure that during a turn the rudder will anticipate the need for that $r$ component and thus helps making the turn coordinated.
Since the term is complete (i.e. there is also the $\theta$ component) this will work also for climbing/descending turns.