Steelers defense leads way in 17-12 win over Rams