Commodity code matches don't need to match exactly.
Consider a transaction where the submitted commodity code is 090230, which doesn't exist in any product group. Determination attempts to first match that number, then strips off numbers one at a time to attempt to match a product. In this example, it would attempt to match 09023, which would fail, and then 0902, which would map to tea and would match the rule as shown above.