public static void main(String[] args) {
		try{
	        KnowledgeBuilder kbuilder = KnowledgeBuilderFactory.newKnowledgeBuilder();
	        
	        System.setProperty("drools.dateformat", "dd-MM-yyyy");
	        
	        kbuilder.add(ResourceFactory.newClassPathResource("TestDRL033.drl", TestDRL033.class), ResourceType.DRL);
	        Collection<KnowledgePackage> kpackage = kbuilder.getKnowledgePackages();
	        
	        KnowledgeBuilderErrors errors = kbuilder.getErrors();
	        if (errors.size() > 0) {
	            for (KnowledgeBuilderError error: errors) {
	                System.err.println(error);
	            }
	            throw new IllegalArgumentException("Could not parse knowledge.");
	        }
	        
	    	KnowledgeBaseConfiguration kbConf = KnowledgeBaseFactory.newKnowledgeBaseConfiguration();
	    	kbConf.setProperty("org.drools.sequential", "false");
	        
	        KnowledgeBase kbase = KnowledgeBaseFactory.newKnowledgeBase(kbConf);
	        kbase.addKnowledgePackages(kpackage);
	
	        StatefulKnowledgeSession ksession = kbase.newStatefulKnowledgeSession();
	        KnowledgeRuntimeLogger logger = KnowledgeRuntimeLoggerFactory.newFileLogger(ksession, "TestDRL033");
	          
	        ksession.fireAllRules();
	        
	        ksession.dispose();         
	        logger.close();
        
	    }catch (Throwable t) {
	        t.printStackTrace();
	    }
	}