Get oval def by rule id improvements 2