Jess/CLIPS rule set to demonstrate the use of Bayes' theorem in handling dependencies between uncertain beliefs. This rule set uses a very simple scenario in which a number of jars hold combinations of black and white jelly beans. As the test progresses, jars are randomly selected, and beans are removed. The rule set processes a sequence of these bean draw events. Before each draw, the system uses Bayes' theorem to determine the probability of a black or a white bean being drawn from specific jars. The program answers questions in the form of "if the next bean drawn is black, what is the probability that it will be drawn from jar 3"?