Organizing rules production in qualitative modeling of electric circuits