...
You can make the rules as complex or as simple as you want. You could simply have a rule:
<rule>String STRUCT_TYP EQUALS S1</rule>
In this case, we are looking at a column called STRUCT_TYP (structure type) with a structure type equal to S1. If it matches, then use the fragility we specify.
...