Brendan Rodgers praised his side's spirit as they secured a late 2-1 win at Burnley despite playing 87 minutes of the game with ten men.