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.
In your search for RETE based rules engine in Python either Pyke or PyCLIPS could be the one you would want to use.
PS: I had left a comment to S.Lott's answer about Pyke. I have posted a separate answer as per his suggestion and also to let other readers readily know that the rules engine mentioned in this answer could be a probable choice if they are searching for one.