code: @Nonnull
      public static Rectangle decodeToRectangle(@Nonnull final String mapcode)
              throws UnknownMapcodeException, IllegalArgumentException, UnknownPrecisionFormatException {
          return decodeToRectangle(mapcode, Territory.AAA);
      }
docs: Decode a mapcode to a Rectangle, which defines the valid zone for a mapcode. The boundaries of the
  mapcode zone are inclusive for the South and West borders and exclusive for the North and East borders.
  This is essentially the same call as a 'decode', except it returns a rectangle, rather than its center point.
  
  @param mapcode Mapcode.
  @return Rectangle Mapcode zone. South/West borders are inclusive, North/East borders exclusive.
  @throws UnknownMapcodeException         Thrown if the mapcode has the correct syntax,
  but cannot be decoded into a point.
  @throws UnknownPrecisionFormatException Thrown if the precision format is incorrect.
  @throws IllegalArgumentException        Thrown if arguments are null, or if the syntax of the mapcode is incorrect.