Adding Rules to base.coffee
same changes we made in axis.coffee - pull ranges from plot instead of parent - call get_obj to get range objects instead of get