We didn't write a list of rules but we did warn people before each of our babies were born that we didn't know when we would be ready for visitors and would let them know when I was feeling up for it. We also wrote it in the text message we sent out to people. It went a bit like this:

"We are excited to announce the arrival of [name] at [time and date] weighing [weight] and [height] long. We are looking forward to introducing [name] to all our family and friends but need some time to recover and get to know each other first. We will text back soon and let you know when we are up for visitors."

My last two babies have been in special care for the first 24 hours so and I haven't wanted visitors because I am up and down between maternity and special care. I didn't want to have to worry about visitors. I explained this to people before I went into hospital and just reminded them with a text message not to turn up. If I was really worried about people touching our baby, I probably wouldn't have invited them. My brothers that smoke, I did ask them when they came to visit to wash their hands first and they were okay with that. It wasn't a rule though, it was just something I asked them to do and they were happy to oblige when I explained to them that it can cause issues with SIDS and it's not good for baby to be exposed to smoke.

Before I had our first baby, I thought I would feel like you and want to protect my baby and not have people touch them and people leave the room while I was breast feeding, but in the end it was fine. I wasn't bothered by any of that. I felt fine to ask people for what I wanted - like hand washing and everyone took it really well. I was just so excited for other people to meet our baby and share our joy. Even with my last two, I really wanted visitors straight away, but just found it too hard with the baby being in special care and me not being really available for visitors. It was nicer for everyone to wait until baby was in my room.

ETA: You posted at the same time as me so I don't know how relevant this is anymore in light of your most recent post I am not trying to be repetitive and argue with you