It does, a bit confusing, but this is what you need to know:
- Your ELO goes up if you defeat someone with higher ELO
- Your ELO goes down if you lose to someone with lower ELO
You also will get the higher rank of your opponent if he/she has one more ELO point than you and you defeat him/her.
~Cheers