Resolved #69: Removed rulesSize and rulesSafetyMargin and implemented as constants.