Rules4j Rules4J is a Java library that allows developers to model a set of conditions at runtime and evaluate it against values to trigger actions.