made rule_resolve pickier