How to limit the rotation of a bone in an FK chain?
just add the limit rotation bone contraint to that bone, and uncheck the axis that you wont use and then play with starting and ending rotation, for example if you want it to have a limit of 90 degrees just add 0 deg as starting and 90 as ending and thats it.