Refactoring RandomVar and Tests
Refactoring rule.py
Sync tests with refacted version of rule.py and randomvar.py
Cleaning draft code
Removing test for oldest version of randvar