I use XLD for ripping only.
If you change the sample rate in Audio-Midi setup, you must close iTunes first, change the setting, restart iTunes.
Annoying. If you want to avoid that get BitPerfect for 3€ from the app store and it changes automatically plus gives you better sound.
Amarra, PureMusic and Audirvana Plus take care of that as well for you.
If you want Amarra and you use Lion and one of the latest versions of iTunes, it might not work or ask you to start iTunes in 32-bit mode. Maybe wait with Amarra 'till they fix that.