Code modified to use the new Range object for Rule

Issue: #43
Signed-off-by: Rossella Sblendido <rossella@midokura.com>
Merge pull request #45 from midokura/rossella/master

Code modified to use the new Range object for Rule