A Hybrid Connectionist and BDI Architecture for Modeling Embedded Rational Agents