fixed bug where settings and rules input was swapped