Generics support to KnockoutSubscribableFunctions and added base interface to rule definitions.