The oversized bag fee shouldn't apply because a rifle case would be covered under sporting goods.. just like skis, you don't pay extra for skis or snowboards, just the regular checked bag fee.

https://www.united.com/ual/en/us/fly...equipment.html