Text this: On the Use of Binary Features in a Rule-Based Approach for Defect Detection on Patterned Textiles