The Pen tool is more appropiate for that, specially since you want to apply the glow effect to its area.
To make a rectangle area it's just four clicks with the Pen tool,
and to correct (move) them use the White arrow tool.
to define stroke weight when using the Line tool, you have to first define the weight(witdh) in the toolbar at the top and that'll be the width.
_________________
One of God's own prototypes. Some kind of high powered mutant never even considered for mass production. Too weird to live, and too rare to die.