is there a tool in rawtherapee that changes particular part of the image?

There’s a special build, called Local Lab, which allows to apply some filters on parts of the image. Look in the forum and you’ll find it.
It’s not using masks, but control points and areas under the control points.
Edit: look here Local Lab build