added ruletest to scala project