What is wrong with this attempt is that (A) ends up being a negative list. A list of what what I do not want to intake. Since possibilities are infinite, this will give me ridiculous cognitive load, and that is a problem. So here is simple solution, which I used for a food diet before, and worked great: Name not what you cannot do, but what you are allowed to do. Way fewer bits, way easier to check!
Related keywords: blacklist vs whitelist