You don't fill anything with the rectangle tool. It's only for drawing lines or fills.