Removed old rules and header. Use flex instead.