Protect access to the rules stack