"TableLike.Apply" maps a pair of a node and a token to a rule.