Use megabytes in the memory rules to avoid integer overflow

Change-Id: I827be008f1f626f082460106de84a25e97bae03a
Signed-off-by: Martin Sivak <msivak@redhat.com>