Martin thanks for your following is my unit test which I'm using, and its passing successfully with green bar.
private String filename = "/home/mwahaj/workspaces/workspace/activitiDemo/src/main/resources/diagrams/rulesdemo.bpmn";
@Rule
public ActivitiRule activitiRule = new ActivitiRule();
@Test
public void startProcess() throws Exception {
RepositoryService repositoryService = activitiRule.getRepositoryService();
repositoryService.createDeployment().addInputStream("loanrequestWithRules.bpmn20.xml",
new FileInputStream(filename)).addClasspathResource("LoanRequestRules.drl").deploy();
RuntimeService runtimeService = activitiRule.getRuntimeService();
Map<String, Object> variableMap = new HashMap<String, Object>();
variableMap.put("name", "Activiti");
variableMap.put("income", (long)1);
variableMap.put("loanAmount", (long)2);
variableMap.put("emailAddress", "");
ProcessInstance processInstance = runtimeService.startProcessInstanceByKey("loanrequestWithRules", variableMap);
assertNotNull(processInstance.getId());
System.out.println("id " + processInstance.getId() + " "
+ processInstance.getProcessDefinitionId());
}