In LIMA, the tool `compile-rules` allows to make available new named entities rules (Modex) to LIMA. A python binding should be made available.