rule to change text