def METHOD_NAME(self, validated_data):
    rule_type = validated_data.get("type")
    step, notification_channel = self._type_to_step_and_notification_channel(rule_type)
    validated_data["step"] = step
    if step == UserNotificationPolicy.Step.NOTIFY:
        validated_data["notify_by"] = notification_channel
    if step == UserNotificationPolicy.Step.WAIT and "wait_delay" not in validated_data:
        validated_data["wait_delay"] = UserNotificationPolicy.FIVE_MINUTES
    validated_data.pop("type")
    return validated_data