public function rules(): array 	{ 		$validation_rule_builder = [];  		foreach (getCurrentLanguages() as $lang) { 			$required = ($lang === getMainActiveLanguage()) || ($lang === getDefaultLanguage());  			$validation_rule_builder['name.' . $lang] = [$required ? 'required' : 'nullable', 'string', 'max:100']; 			$validation_rule_builder['description.' . $lang] = ['nullable', 'string', 'max:1000'];  			// FAQS 			$validation_rule_builder['question.' . $lang . '.*'] = ['nullable', 'string', 'max:300', 'required_with:answer.' . $lang]; 			$validation_rule_builder['answer.' . $lang . '.*'] = ['nullable', 'string', 'max:500', 'required_with:question.' . $lang]; 			$validation_rule_builder['order_number.*'] = ['nullable', 'integer', 'min:0', 'required_with:question.' . $lang]; 		}  		return array_merge(MediaStorage::mergeValidationRules([ 			'category_id' => ['nullable', 'uuid', 'exists:categories,id', new RecursiveCategoryRule($this->id, $this->category_id)], 			'active' => ['boolean'], 			'featured' => ['boolean', new MaxFeatured(Category::class, $this->slug, 3)], 			'image' => ['nullable', 'image', 'max:4096'], 			'question' => ['nullable', 'array'], 			'answer' => ['nullable', 'array'], 			'order_number' => ['nullable', 'array'], 		]), $validation_rule_builder); 	}