rule_resolve still doesn't work