Rotate Multiple Bones but not All Bones

I want to rotate the rest of the bones in the body towards the orientation of my head bone once it reaches a certain degree and I am not sure how to go about doing that without having to go through and transform every bone separately.

I feel like there is an easier way to go about doing this like making an array of all the bones besides the head and rotating that but I am not sure how to accomplish such within the blueprints.