Verifies Strings according to predefined rules