added active rbf rule query