HELP: Door contact rule

This should give you a good start: