On a case by case basis that generally aligns with common sense. Most people can instantly recognize a hook and knife are very different from adding a solvent to food. Drug laws are a good analog for this. I don’t think the universe of possibilities in this space is prohibitively large.
You can probably begin by broadly calling petroleum and petroleum products artificial.