Rogues get rogue talents every even level. Starting at 10th level, they can choose Advanced Talents instead of the normal list. Skill Mastery explicitly states it can be chosen more than once, choosing different skills each time. That means you can take it at 10th, 12th, 14th, 16th, 18th, and...