In effect, Python is a rules engine.
"The engine will be used as way to automate a house, like turning the light off when somebody leaves a room etc."
You need sensors and controllers. You write your "rules" as ordinary Python objects.
Your main "program" collects events from your sensors and sends events to your controllers.
If you can read from your sensors via ordinary USB, that's even better. The marine industry uses a couple of closely related standards like NMEA 0183 and NMEA 2000 for specifying the traffic on the bus from sensor to controller.
You don't need Yet Another Rules Language. You have Python.