I am looking for a rules engine in C or Python, but if you know a rules engine that is implemented in another language I would be glad to know about it.
The engine will be used as way to automate a house, like turning the light off when somebody leaves a room etc. So no "office" rules there (aka do you rules in Excel or such).
I have looked into Jess and Drools which are in Java and do a perfect job. I would like to know of others and possibly using less memory than Java does. I have heard of RuleCore in Python but couldn't really find any documentation on it (version 1.0 is available at SourceForge but it looks like they are selling v. 2.0).
EDIT: By rules engine (inference engine), I mean an implementation of RETE or equivalent.