added a couple of rules for strings and collections