clear method
Clear all data (for testing)
Implementation
Future<void> clear() async {
try {
await ObslyStorage.instance.storeInternalState(_manualRulesKey, '[]');
await ObslyStorage.instance.storeInternalState(_processedRulesKey, '[]');
_activeRules.clear();
ObslyLogger.log('🧹 RulesManager cleared');
} catch (e) {
ObslyLogger.error('Error clearing RulesManager: $e');
}
}