Thanks everyone who commented. You're right, if I leave a space in the wall where I would like the gate then it will rotate itself. My problem was trying to place the gate first then follow with walls.
Thanks for the help.
Could someone please advise how to change the orientation for the gates.I'm having difficulty changing the gate direction from (lets call it) east - west to north - south. Doesn't make sense that the gates would only work in one direction but I cant find out how to change their direction. Please...