remove rule uid, add index