A Java API for Processing PSOA RuleML/XML Syntax