moved ElVarRule to rules package