Align 2 edges

Hi there, this may sound a silly, but do yo know how i can rotate the little object to be aligned with the biggest one. Does it exists a command as it exists in autocad whose name is “align”. I do know it exists the command allign in rhino but as i know it doesnt work the same that in autocad, isn it? I try with rotate but it doesn work. Basically i want to allign these 2 edges

Hello- Orient (line) or Orient3Pt (plane) should get this.