re-throwing error
added tests for rule-run endpoint