Changed inference priority evaluation: done periodically based on run_window parameter and the ContextDerivationRule type (not instance). Closes #11.