transform(static function (array|SmartPlaylistRuleGroup $group): SmartPlaylistRuleGroup { return $group instanceof SmartPlaylistRuleGroup ? $group : SmartPlaylistRuleGroup::make($group); }) ); } }