Allows mapping of rectangle to tool