Please watch the three videos at the beginning of this discussion:
Use mid-surface for sheet metal parts most of the time.
Use Frictional Contact with Shell Thickness Effect set to Yes to "fill" the gap between the surfaces.
There are many ways to model this. One approach is to use solid elements on the rail and clip. Add Frictional contact between them and between the rail and the sheet metal bracket and between the clip and the sheet metal bracket. Add bolts to clamp the clip to the sheet-metal and rail.