FYI: Alternative approach to Python rules

sort of like this?