More tests added

Added toggle field/field rule tests.
Added new field rule tests.
Added custom rule test.