Leicester manager Brendan Rodgers claimed their 3-1 defeat to Manchester City in the Premier League was a "good lesson about quality" for his young side.