Below is a sample file with comments explaining the construct in an example.
[ # Main Root array
"c", # Example of a string rule using the old style - capitalizing the candidate
"u", # Another example of the old style converting the candidate to uppercase
[ # List containing one rule to be used on each candidate
["s", "A", "C"] # Replace all "A" characters with "C"
],
"sAC" # Perform the EXACT same operation as above in the old format, a short version of writing it.
[
["s", "1", "2"], # Replace all 1 characters with 2
["u"] # Convert all characters to uppercase (after converting 1 to 2)
], # The old format would be writing "s12 u"
[ # the next example shows more of the possibilities that are new with this tool
["$","123456abcdef"], # Append a whole series of characters
["s","é","e"], # a series of rules to normalize "e" characters after having appended 123456abcdef to the rule.
["s","è","e"],
["s","ê","e"]
]
]