How do I fix the this rig to blend it's knees the right way?
When you add an Inverse Kinematic constraint to a bone, the Inverse Kinematic panel, in the Bone tab, allows you to lock the axes you don't wont the bone to rotate on.