This coment is not really accurate anymore. Please move fields description in the data structure. 
Here, the contract of function is just to build RuleLine to then provides the JSON to fill the table. 
See comment on RuleLine, to.