Rewriting CLIRuleTests in Scala, adding a new testhelper

Added a new testhelper to facilitate tests that rely on activations on a specified entity rather than an activationId.
3 files changed