9
You can't - a rectangle only has a single stroke thickness. A Border, though, uses a thickness structure that can have different thickness on each side:
<Border BorderThickness="5,0,5,0" BorderBrush="Black" />