Automatic rule based time tracker for Linux