As promised, this is a Delphi implementation of the Vector Matrix Stopwatch. Notice there are five rules:
The fifth rule Ring is the interval event handler. Each step in a rule is binary there are no "unicorn" transitions only real true and false states. The code is the documentation and only because of formatting restrictions to make the matrix viewable I use computer type abbreviations like "rClrD" for rule clear device.