move gate.xml to gate directory.