added version class rule to build