Rus' relations with the Pechenegs were complex, as the groups alternately formed alliances with and against one another