Although some of the replies above minimize breed characteristics, it is a fact that certain breeds were specifically developed to hunt down and kill small animals. You would be foolish to ignore that.
Can a dog be trained against its specific breed characteristics? Maybe - but unfortunately you won't know if the training failed until tragedy strikes. And this can happen in a heartbeat with some breeds.
So if you want to keep small animal house pets such as rabbits - or mice, rats, hamsters, gerbils, etc, etc - it would be advisable to stay away from all the terrier breeds. And that includes toy breeds like yorkies that are derived from terriers. Terriers were bred to hunt and kill "vermin" - and a pet rabbit or rat looks pretty much the same as a wild one as far as most terriers are concerned.
I know this is a negative recommendation rather than a positive one, but I think it is important to state it.
BTW, RonE mentioned that his lab hunted rabbits. Although in the US we rarely use our retrievers on fur, it is quite common in other countries to do so. So the breed characteristic is there even if it isn't used. However, retrievers simply do not have the same prey drive toward "vermin" that terriers do and can usually be trained to leave small pets alone.