Support byte length for string rules. Closes #191