Added new functionality : creating custom rules for fields. Updated core.