It is probably better to post a new thread for questions like these.
Then copy and paste the code into your post. Many of us use our phones and screenshots after impossible to read. It is also much easier to copy your coffee and fix what is wrong instead of making us retype everything.
Use code fences: How to use code fences
The rules page is the documentation for the rules but based on the errors Christoph identified I think what you need to do is pay really close attention to the docs and examples. Everything matters including spaces and case. Use VSCode to help identify does as you type.
Install the demo package and look at those rules. Make small changes to set how it changes things.
I also recommend reading the beginner’s tutorial and the concepts section of the users guide because you lack an understanding of how the pieces of OH work together. For example, devices are represented as Things. Each part of the device is represented by a Channel. Items link to Channels. Rules work with Items. If your Item is not linked to a Channel your Item can’t talk to the device.
That is what the Item projectorswitch changed from OFF to ON
means. That tells OH to run the role when that event occurs in that item.