build: mark python rules as being part of the "main" group