That rule is bullshit. My station only has 1 ticket machine. Usually there's a line of 4/5 people. If you get in time to the train (as I always try to do) there's no time to buy a ticket. And I am not going to get 5 minutes earlier just because Scotrail doesn't fancy putting more machines.