[SOLVED] My first rule

Ok
First things first, please use 0codes fences](How to use code fences) when posting code.
Second, have you read: Concepts | openHAB

Is a channel not an item.
Have you limked a contact item to this channel?
If yes, what is it called?

Then do:

rule "My First Rule"
when
    Item MyContactItem changed to OPEN //Or whatever you called YOUR item
then
    logInfo("kitchen", "Door is open")
end

No need, just do a logInfo in the rules and it will appear in your openhab.log file