The mkrules command uses an XML-format file to set one or more include/exclude rules for a workspace or stream. The following example demonstrates the structure of the input file:
<stream name="xray24_dvt_john"/>
<comment>set two rules for a workspace</comment>
<elements>
<element
kind="excl"
location="\.\dir01\sub01"/>
<element
kind="incldo"
location="\.\dir02\sub02"/>
<elements
kind="incl"
location="\.\dir01\sub03"
backingStream="xray24_qa"/>
</elements>
You can create an input file for mkrules by revising the output of an
lsrules -fmx command.