Fixed MethodConst validation rule