public Map<String, Validator> getValidations() {
final ImmutableMap.Builder<String, Validator> validators = ImmutableMap.builder();
validators.put(FIELD_TYPE, new IntegerValidator());
validators.put(FIELD_FIELD, new FilledStringValidator());
validators.put(FIELD_STREAM_ID, new ObjectIdValidator());
validators.put(FIELD_CONTENT_PACK, new OptionalStringValidator());
if (!this.getType().equals(StreamRuleType.PRESENCE)) {
validators.put(FIELD_VALUE, new FilledStringValidator());
}