Hook Direction at Column

I create rebars on columns. And some rebars has hooks at the end or at the start. Hooks are always
created in X direction even the column is rotated at the plan view. The question is how can i rotate the hook aligned to column angle?

The node to create rebar has a vector entity to control hook direction. thanks to peter kamal for helping me on.