working towards the rule density curve dump