Yes to your description, not sure about the sketch.

```
trigger.setup = {
  env.getMainMedia.mediaUI.bind('timeupdate, function() {
    if (timeIsRight)
      $(this).trigger('triggerExecuted');
  });
}
event.setup = {
  this.trigger.bind('triggerExecuted', function() {
    this.rule.execute();
  });
}
```