The JESS part of the code, still to do the java and JSP integration