Rules

Adding support for the rules end point