In general rooks are more valuable than bishops. Of course, it's impossible to say for sure what the right choice was without seeing the exact position.
If pawns are equal to 1, then a rule of thumb is:
Knights = 3
Bishops = 3
Rooks = 5
Queen = 9
Study has been done to try to find more precise values. Knights and Bishops are probably a shade over 3 and Bishops are just slightly more valuable than Knights, something like N = 3.15, B = 3.25. Rooks my be slightly less than 5 (4.75 perhaps).
But these are just rules of thumb. It tells you that in general you don't want to give up a rook for a bishop. But in particular games it might be wise (see this blog post for example).
Hi, I'm just starting off here in the chess community and had a question for really anyone willing to offer feedback. I recently found myself in a mid-game situation where I wondered if exchanging a Rook and a Bishop for both my opponents Bishops is a good or bad idea. The reasoning behind thinking it may be viable was the fact that it would parilyze my opponent's diagonal coverage while still leaving me with having one of each piece. Thanks for your time and consideration.