turn token scoped back into a rule