add some rule functions

add following rule functions: Count, CPCTwoByte, Month, ClassOfGrain1,
TwobytleCode07, TwobytleCode06, CountUcode, DomainManagerInEPCCheck