add converted nil to empty string for adding ruledata