Rules engine execution question

Apologies if this question’s already been answered but where/how are the rules in the rules engine executed?

I’m assuming it’s currently cloud based but I thought I heard mention of possible local execution. I’m utilizing the engine with several rules and wanted to confirm incase of internet outage.

Thanks.

They are cloud based.