created entiry for condiion and inmplemeted many to one from rule to
condition to load all in one query