A body of rules established by treaty or custom that governs relations between states and international entities.