Added < operators to iprangerule and iprule. Changed the less than functions in securitymanager to use constants and use the rules directly.