It was def a replacement for Eddie and to honor his death. Rey is a bigger name than Chavo, so they had Rey fill those shoes of hope, underdog, and living your dreams.
Def a filler of a champion. It’s not to say that Rey didn’t “deserve” a short run, but that’s def why he got his first run.