[core][py] tests: sort untested rules