How to Rotate Flap reference to Constant Stick

Hey Everybody, 

Im trying to rotate a flap by taking s stick as a reference.

 

I want to rotate this flap over this stick. as shown below. I tryed to use Rotate script but it does not take stick as a reference. How can i do this ? or do you have any other solution ?