Yeah its all good,i didnt gain rating when i won those battles because its a friend battle.Like king said,people would just keep surrendering in friend battles to get their friends ratings really high. Similar to a tactic some other people have used *cough wassem cough*
You dont gain/lose rating for friend battles.