49ers, Gore rumble through Rams