added pylint to rules.py, fix a bug in Rule() about token_out and file_out