He must still have some feelings for you, because if I didn't want my ex anymore I certainly would not give him a hug, nor would I give him a tight hug AND rub his back. I say he still does care for you, maybe misses your touch and was trying to get some closeness to you.
If I'm rubbing someone's back while hugging it's because I'm trying to calm them or comfort them.
Think it means he cares about you, meaning he has sympathy or I don't know empathy, Good luck, Lols
No how could that possibly mean anything? I hug like that too and it doesn't mean anything at all.