Text this: Towards an Analytic Framework for System Resilience Based on Reaction Networks