public function rules(): array 	{ 		$current_domain = $this->user()?->user->getActiveDomain(); 		$main_language = $current_domain?->main_language ?? Language::getDefaultLanguage();  		$validation_rule_builder = [];  		foreach (Language::cases() as $language) { 			$lang = $language->value; 			$required = ($lang === $main_language);  			$validation_rule_builder['name_' . $lang] = [$required ? 'required' : 'nullable', 'string', 'max:50', new OpenAIModeration]; 			$validation_rule_builder['display_label_' . $lang] = [$required ? 'required' : 'nullable', 'string', 'max:200', new OpenAIModeration]; 			$validation_rule_builder['dropdown_values.' . $lang] = ['array', 'between:1,50']; 			$validation_rule_builder['dropdown_values.*.' . $lang] = ['string', 'max:100']; 		}  		return array_merge([ 			'type' => ['required', 'string', new Enum(FilterType::class)], 			'min' => ['nullable', 'numeric', 'min:0'], 			'max' => ['nullable', 'numeric', 'min:0', 'gte:min'], 			'step' => ['nullable', 'numeric', 'min:0'], 			'selected_filters' => ['array'], 			'selected_filters.*' => ['required', 'uuid', 'exists:' . Filter::class . ',id'], 			'required' => ['boolean'], 			'active' => ['boolean'], 		], $validation_rule_builder); 	}