Write permanent rules to the .ignore file.

Signed-off-by: Jerome Doby <xaerodegreaz@gmail.com>