Move strip to rules

make sure we strip whitespace at the beginning of the ignore list