Manchester United manager Louis van Gaal has been defending the role of Wayne Rooney within the team.