New rigging tool

I have an idea to put a new tool in rig. The idea for this tool is to adjust the rotation of the bones, for example, you now manually adjust the rotation of the bones, where you choose one bone and then you adjust the rotation and then you choose the next bone and then you adjust the rotation. the tool job is after adjust rotation one bone select the bone that you adjust then select the bones that you want to adjust like the first bone then click on the tool to adjust all bones to be like bone that you adjust in the first