Yes, you get however many AP it took to get that rank (e.g. 20 for de-ranking WM from 4 to 5.)
I wouldn't worry about defense too much. I have rank E and it works fine against 97% of mobs (like everything except golems) as long as you have a kite shield.
There's probably better things to invest in atm.
__________________
|