Rooney agrees Derby player-coach role