Fix NPE when severity is null on manual rules