Added new rulebased print syntax to rulebased.py