The doctrine, applicable in some areas, pertains to water rights, giving priority to those who would use the water most beneficially.