In the following two sentences which one is correct regarding the usage of rather
Men are rather impressed by beauty then by character.
Men are impressed rather by beauty then by character.
I think the first one is correct. But in my book second one is correct, I don't understand how?