This commit adds two tests for verifying that the input provided to test.submit_rule makes it's way into RulesEvaluator and returns a meaningful response. This commit fixes a subtle bug that would make it so that we don't pass the input to the evaluator if the project has not set up any Prolog rule before. Change-Id: I25445abccb02a72995abc289d169699fac2536ba