Bayes' inference cannot reliably account for uncertainty in mental processes. The reason is that Bayes' inference is based on the assumption that the order in which the relevant features are evaluated is indifferent, which is not the case in most of mental processes. Instead of Bayes' rule, a more general, probabilistic rule of inference capable of accounting for these order effects is established. This new rule of inference can be used to improve the current Bayesian models of cognition. Moreover, it should play an essential role in the search for artificial emotional intelligence.