How to achieve accurate rotation of fingers at the point they meet the palm?
You could consider to insert in your rig a driven shape key, to ensure that you get the exact deformed mesh you desire. The shape key can be triggered only when a certain amount of rotation is reached.