add rule severytiy,log type and target type
handle conflicts