adds button container around rule buttons