Pegula won 10 of the final 12 games as she stormed past Rybakina to start her WTA Finals campaign with a win.