Creates a new validation rule and sets its values
properties
OnlyOneExistsRule(List<String> properties) : _properties = properties;