Very good :) We should be careful to make sure we are using our pieces, in this case, the rook, effectively. Your opponent however put his rook in a place with nowhere to go.. bye bye rook :(
A good example of not only looking to take pieces but also to trap them.