public function rules(): array 	{ 		$main_lang = getMainActiveLanguage(); 		$validation_rule_builder = [];  		foreach (getCurrentLanguages() as $lang) { 			$required = ($lang === $main_lang) || ($lang === getDefaultLanguage());  			$validation_rule_builder['name.' . $lang] = [$required ? 'required' : 'nullable', 'string', 'max:150']; 		}  		return array_merge($validation_rule_builder, [ 			'active' => ['boolean'], 			'parent_id' => ['nullable', 'exists:navigations,id', new SubNavigation], 		]); 	}