I my database (mysql) there is such structure (dbo.prediction)
id.rule x1 x2 predict 1 1 1 0 2 2 2 0 3 3 3 0