Jonjo Shelvey says Liverpool boss Brendan Rodgers convinced him that joining Swansea City would be a good career choice.