Text this: Development of rule-based mobile diagnostics system