Rivers make for very treacherous footing and, as such, are about the last place a ranked-up unit wants to conduct its battles. A unit at least partially in a river can never be steadfast (unless they are Stubborn). Additionally, units even partially in a river cannot claim rank bonus.