Add charset detection to Line
Update rules
Introduce charset rule