function addRectTopAndBottom({x, y, width, height}) {
  return {
    left: x,
    top: y,
    right: x + width,
    bottom: y + height,
    width,
    height,
  };
}
@param {{x:number, y:number, width:number, height: number}} rect
@return {LH.Artifacts.Rect}