Reglas de la sección
@foreach ($rules as $rule)
@php
$formattedOptions = collect($rule['options'])->pluck('key', 'value')->toArray();
$selectedValue = old('rules.' . $rule['id'], $dto->rules[$rule['key']] ?? $rule['default'] ?? null);
@endphp
@endforeach
@endif