Rule Engine Development in Java