Where did Rory come from?

The correct answer is "Out of the television as a character invented by Ryder's parents"