Learning rules of a card game from video