The first recipe makes 15 tablespoons of rub before the addition of the cayenne. There's 16 T in a cup. Way more that needed for two racks of ribs.
The second recipe makes 4-1/2 tablespoons of rub before the addition of the cayenne. That's a little more than 1/4 cup. I'd say that's enough for two racks of ribs.