Fix
Fix static_rules generation