Removed debugging print and fixed a potential buffer overflow in
rule file parsing