Fixing rules field's setup method to return a boolean.
Adding test for radio field with fixing some problems along with it.