Designing of Rail of a Rack

I want to know how the designing of a rail( Basically a long metal strip with holes at regular intervals to mount components). The rail is used either side of a rack to mount components.
So the problem is there are two rails seperated by 19". The height of the rail is 40". At a height of 30" from the bottom a component of some weight is mounted on to the rail( By fastening the component to the holes in the rail. The rail is fixed at both top and bottom).
I hope someone is getting this ( Its difficult to explain without figures). I want to know how the load of the component will be acting on the rail at the fastened positions and how the stresses are calculated for the rail to wistand the load.

The Physics Forums Way

We Value Quality
• Topics based on mainstream science
• Proper English grammar and spelling
We Value Civility
• Positive and compassionate attitudes
• Patience while debating
We Value Productivity
• Disciplined to remain on-topic
• Recognition of own weaknesses
• Solo and co-op problem solving