Text this: A Design‐Driven Machine Learning Approach for Invariant Mining in a Smart Grid