Rules and choice in economics