execute all rules per line
fixed bug