Rationality and ethics in artificial intelligence. (2023)