add delete filter and delete rules api