Documentation
To control the behaviour of the logon script, you define action sets in a XML file (logonrules.xml). An action set has a number of filters as well as a one or more actions defined.
There are also a few script wide setting that you can set, as well as some command line parameters which will change the scripts behaviour.