Drill a hole in the rail, put a bolt in the hole and use a t nut in the rail slot to screw it to.