Can I use 'return' in rules?

Can I use “return” (or exit) in rule? I have many condition that finish rule execution , it simplify my rules but I’ve read somewhere that is not safe use retun in rules.

for example

rule "RFID_operation_porch"
		Item Porch_RFIDTag 	 received update 
	// sprawdzam czy nie trwa juz operacja odczytu 
	if ( porchRFIDLock == false ) {
	else  {
		return   // exit from a rule
	} action...

Yes you can. This answer is also in the docs:

1 Like