Add tests for array of field names in rule