add rules to g-irnore