Update rules.py

Add --no-check-certificate for wget to download python.