It's a compliment! Rihanna has a great taste of music. And Avril was at Rihanna's concert the other week. They're friends. Avril obviously played the track to her, and she liked it.
remember what that Sharon lady from Z100 said about the track??? "What I heard blew me away: It's upbeat, happy party music. I think on her last album, listeners liked the darker stuff, but they didn't love it. This is a return to the fun stuff."