Bayesian Networks and Boundedly Rational Expectations