excluding var from Type and fix in NamespaceOrTypeName by separating the rules