Remove newline char when extracting rule names
update predefined files for Darwin