Add rectangle generator.