UID / Flag value in Config file or registry?

Since v4 & v5, comodo had added some values in registry and configuration file.

Does anyone know how to generate such value, it’s maybe a must-have item when create rules with 3rd party editors.

i.e,
<FileGroup UID=“{2DA26340-265B-4CED-BBF2-E578DC0C45A7}” Name=“All applications”>



<[u]Rule Flags="1024"[/u] DefaultAction="1">