[SD-1197] Behave test for rules set end point.
[SD-1199] Backend transformation rule implementation.
[SD-1199] Fixed failing Nosetests, Behave Tests and flake8 errors
[SD-1197] Added behave test for rule sets and modified privilege feature.