JFormRuleRules::test

Method to test the value.