The rational approach to happiness