add one unit test class

add one unit test class named RuleFuncTest.java  whose functions are cited by function "execute" of class RecoAction.java.