Added keyworkd abstraction abd few bug_fixes in remove_rlt and remove_unvalid_rlt