Changing rule to str