allow name and rule type to be independent