fixed a buy in parsing the rule type and added a better animation mode
which is run in the main thread (removes timing issues)