Legal win for Rivian in bid to build electric SUVs in Morgan, Walton counties