Eliminate `stringRuleImpl`