Rules

Branching type

Records will flow through:
{{--
--}} @foreach($branches as $branchIdx => $branch)
@foreach($branch['conditions'] as $condIdx => $condition)
@if($condIdx > 0) @endif NOT @if(!in_array($condition['condition'], ['is empty', 'is not empty'])) @endif
@endforeach
@endforeach

Input

{{ $records }}