An example rule might be Department = Engineering, meaning it describes all nodes that the category “Department” set to “Engineering.” This is exactly what happens when you configure the associations during an Add Node operation.
Example 1: If you want to describe nodes that belong to the engineering department, create a rule that says Department = Engineering. This will become Rule0. Then, type Rule0 in the Short Expression field.
Example 2: If you want to describe a group of devices that belong to the engineering department or are located in Philadelphia, and specify that all of the machines must have 1 GB of memory, you must create three rules. Department = Engineering (Rule0) Location = Philadelphia (Rule1) Memory = 1GB (Rule2).These rules must be arranged in relation to each other. Since the device can either belong to the engineering department or be located in Philadelphia, use the OR operator, |, to join the two: Rule0 | Rule1. Make this comparison first by enclosing it parentheses: (Rule0 | Rule1). Since the devices must both satisfy this comparison AND contain 1GB of memory, use the AND connector, &, to join this section with Rule2: (Rule0 | Rule1) & Rule2. Type this final expression in the Short Expression field.
Note: You should have a space before and after operators & and |. Otherwise, the Short Expression field may return to the default expression, that is, Rule0 & Rule1 & Rule2 and so on, when you delete any rule from the table.