Fix regression when importing user rules and language was not set