Automated Planning and {BDI} Agents: {A} Case Study