Manchester United forward Wayne Rooney says he is thrilled to have committed his long-term future to the Old Trafford club.