Introduce selectivity metric and refactor metric handling in Ronja