He practiced to fight Count Rugan. The Man in Black just happened to be a worthy opponent.