fixed rangify for empty rule (fixes #2)
added: option to use file for args (closes #5)