Administration Guide : Filter Files from Clients via Business Rules : Business Rules Filtering: Command Line Configuration

Business Rules Filtering: Command Line Configuration
Version 19 provides a user interface to configure Business Rules Filtering (the recommended method, as described in previous sections). For previous versions, users had to edit business rule configuration files through the command line instead; we have provided the information on how to do this in case you need it to customize your installation.
Notes:
General Filter Structure
The following table provides an explanation for the general filter structure. See the examples below to learn how they are being used.
 
Filters and Match Options
Each filter supports only a single match option with the following fields being configurable within a ‘match’ node.
 
Filters and Flag Options
Xinet supports the following filters and match options.
When specifying a " (quote) or a \ (backslash) character in any of the Business Rules match or pre-requisite 'filterValue' fields, these two characters must be escaped by an additional backslash character. For example, if I have the pre-requisite to filter only if the parent directory is named: My "Folder01 \ Folder02" Dir.

The Business Rule would be constructed as follows:
"prerequisites" : [
{ "parentdir" : {
"filterValue" : "My \"Folder01 \\ Folder02\" Dir"
}
}
]
 
 
starts with flag: 2
contains flag: 3
ends with flag: 4
contains flag: 3
ends with flag: 4
starts with flag: 2
contains flag: 3
ends with flag: 4
Filter NULL flag: 10
is equal to flag: 1
Filter NULL flag: 10
is equal to flag: 1
Filter NULL flag: 10
Filter NULL flag: 10
Filter NULL flag: 10
* Keyword values apply to files only (not folders) - keywordInt, keywordStr, keywordFloat, keywordDate, and keywordBool.
Prerequisites
In order to limit validity, pre-requisites can be applied to any of the filters (as listed above). For each filter, multiple pre-requisites can be added.