Switched long for lines or offsets to int
Created a precedence system to make building complex rules easier
Added a monitoring system to introspect parsing