Text this: Recognition of single machining features using rule-based technique