UNDERSTANDING THE FOUNDATIONS THAT MAKE LEGAL SYSTEMS REASONABLE AND EFFECTIVE