The top rail has 3 functions, first it is a base for the top to be attached to, second it squares up the cabinet and last it is a cosmetic facing behind the door.