Rooney was still holding him back when he got into the box, so it was a penalty. So says a referee who wrote in to Football Weekly.
But, as James Richardson said, I think it was a bit harsh anyway. Rooney wasn't doing that much, and I think the player made the most of it. Still, can't blame the ref for the loss.