Automatic section rules-Railways