Fixed and improved string rules.