fixed rules class method order