public function rules(): array 	{ 		$langs = getCurrentLanguages(); 		$rules = [];  		foreach ($langs as $lang) { 			$rules['specs_' . $lang] = ['nullable', 'array']; 			$rules['specs_' . $lang . '.*'] = ['nullable', 'max:50']; 		}  		return array_merge($rules, [ 			'product_id' => ['required', 'exists:products,id'], 		]); 	}