I think that thing at the end is a bet between Sweetie and Applebloom... Sweetie bet two bits Rarity would hug her even if she was filthy and Applejack thought she was too sallow for that... or something

Why is Rarity so dang awesome when she is miserable? ^_^ Seriously, she is my second favorite character, but for some reason, she is at her absolute best when she is being tormented by something or other.