Simple sequential rule engine