Prospective Memory for the Rules of Action for Self and Automated Systems