inputs preparation, rules parsing
inputs preparation, rules parsing