init class rule