Iec normalizer

``$rate_type = empty($rate_type) ? $allowed_rate_types : $rate_type;``