Fixes #972. Implements Best_Match policy.