Sorry I can't help but it doesn't look like a rail to me. The colour of the head, the shape of the tail (rails have their tails tilting upwards) and I think I see tufts around the back of the head too? What was the size of this bird?
My Gallery
"Any glimpse into the life of an animal quickens our own and makes it so much the larger and better in every way." John Muir
In reply to Marina P:
Looking at the small picture on a tablet I would go for Water Rail,may look better on the laptop.
Pete
Birding is for everyone no matter how good or bad we are at it,enjoy it while you can