RuleML is an attempt to define a standard for the XML representation of rules.
Mandarax provides interfaces for these standard xml formats.
SWRL is a XML based language for rules that can be used to reason about ontologies.
JBoss rules (aka Drools) is a mature lbrary for rules in Java based on forward reasoning (while Mandarax is based on backward reasoning).