public function rules(): array 	{ 		$current_domain = auth()->user()->user->getActiveDomain();  		$validation_rule_builder = [];  		foreach (DomainLanguages::cases() as $language) { 			$lang = $language->value; 			$required = ($lang === $current_domain->main_language) || ($lang === DomainLanguages::getDefaultLanguage());  			$validation_rule_builder['title_' . $lang] = [$required ? 'required' : 'nullable', 'string', 'max:150']; 			$validation_rule_builder['body_' . $lang] = [$required ? 'required' : 'nullable', 'string']; 		}  		return MediaStorage::mergeValidationRules(array_merge($validation_rule_builder, [ 			'survey_type' => ['nullable', 'integer', Rule::when($this->survey_type, Rule::in(array_column(SurveyType::selectableSurveys(), 'value')))], 			'published_at' => ['nullable', 'date'], 			'domain_id' => ['nullable', 'exists:domains,id'], 			'tags' => ['nullable', 'string'], 			'image' => ['image', 'max:' . setting('max_upload_size') / 1024, new SafeWebp], 		])); 	}