So, did you have it rebuilt at an outside company and then have the dealer install it? Or did the dealer have it rebuilt and install it?
It also depends on what the problem is to see who is responsible to have it repaired. And, I would imagine that your rebuilt alternator would come with a 12 month / 12,000 mile warranty, but I reserve the right to be wrong...