CHANGE: Getting only active rules for API // Purge model cache if rule has changed // Fixes