Add rectangle primitive