The rule is common sense.
Certain commands require more information. For example, if you want to "copy" you need to tell the computer what to copy from and what to copy to. Those two items are called "arguments" for the "copy" command. You would type something like "copy oldfilename newfilename."
Argument | Define Argument at Dictionary.com
See #7 under the World English Dictionary
Remember - if you don't use correct capitalisation, punctuation and spacing, anything you write will be incorrect.
The rule is not logic. There is no rule. Quite a number of people have told you this already. If a string of nouns seems to make sense to you, go ahead and use it. And there is no limit to the number of nouns you can string together. To quote the noted linguist Steven Pinker, "English is free and easy with compounding, which glues together two words to form a new one, like toothbrush or mouse-eater... One can talk about a toothbrush holder fastener box."
Start with the last noun. That's the main noun. Work backwards from there.
A reception desk.
A reception desk in a hotel.
Train station ticket office.
An office where you buy tickets.
An office where you buy tickets in some sort of station.
An office where you buy tickets in a train station.
(You could probably take "train station" as one phrase and skip that third step.)
I'm not a teacher, but I write for a living. Please don't ask me about 2nd conditionals, but I'm a safe bet for what reads well in (American) English.