Create glide.py

Adding functions rules