The regulation marks a significant shift in a rustic bedeviled for years through violence between feuding drug cartels.