public function rules(): array 	{ 		$langs = getCurrentLanguages();  		$validation_rule_builder = [];  		foreach ($langs as $lang) { 			$required = ($lang === getMainActiveLanguage()) || ($lang === getDefaultLanguage());  			$validation_rule_builder['name.' . $lang] = [$required ? 'required' : 'nullable', 'string', 'max:100'];  			// specs 			$validation_rule_builder['new_specs.' . $lang . '.*'] = ['nullable', 'string', 'max:100', 'required_with:new_specs.' . $lang]; 		}  		return array_merge([], $validation_rule_builder); 	}