Get oval def by rule id improvements