making rules limits configurable #249