Groebner bases for ideals in Boolean polynomial quotient rings