diff --git a/metadata/com.anysoftkeyboard.languagepack.SSH.txt b/metadata/com.anysoftkeyboard.languagepack.SSH.txt
index c50e8d6139..6f1e9bc4d4 100644
--- a/metadata/com.anysoftkeyboard.languagepack.SSH.txt
+++ b/metadata/com.anysoftkeyboard.languagepack.SSH.txt
@@ -28,11 +28,12 @@ Status: BETA.
Repo Type:git
Repo:https://github.com/pi3ch/ssh_anysoftkeyboard
-Build Version:0.4.20120611-beta,4,626f9fc2c,patch=xml.patch;rules.patch,\
+Build Version:0.4.20120611-beta,4,626f9fc2c,patch=xml.patch,\
srclibs=AnySoftKeyboard-API@b21d8907;AnySoftKeyboardTools@73e9a09496,prebuild=\
echo "android.library.reference.1=$$AnySoftKeyboard-API$$" >> project.properties && \
-mkdir -p res/raw/ dict/ && rm -rf assets/ gen/ && mv res/xml/ssh_dict.xml dict/words.xml && \
-ant dict -f custom_rules.xml && rm res/values/attrs.xml
+mkdir -p res/raw/ dict/ && rm -rf assets/ gen/ res/values/attrs.xml && \
+mv res/xml/ssh_dict.xml dict/words.xml,build=\
+java -jar $$AnySoftKeyboardTools$$/makedict/makedict.jar
Auto Update Mode:None
Update Check Mode:RepoManifest
diff --git a/metadata/com.anysoftkeyboard.languagepack.SSH/rules.patch b/metadata/com.anysoftkeyboard.languagepack.SSH/rules.patch
deleted file mode 100644
index f950dcbcc3..0000000000
--- a/metadata/com.anysoftkeyboard.languagepack.SSH/rules.patch
+++ /dev/null
@@ -1,18 +0,0 @@
-diff --git a/custom_rules.xml b/custom_rules.xml
-new file mode 100644
-index 0000000..575a987
---- /dev/null
-+++ b/custom_rules.xml
-@@ -0,0 +1,12 @@
-+
-+
-+
-+
-+
-+
-+
-+
-+
diff --git a/metadata/com.anysoftkeyboard.languagepack.catalan.txt b/metadata/com.anysoftkeyboard.languagepack.catalan.txt
index f51b5bfea3..96e78a1b6f 100644
--- a/metadata/com.anysoftkeyboard.languagepack.catalan.txt
+++ b/metadata/com.anysoftkeyboard.languagepack.catalan.txt
@@ -20,12 +20,12 @@ the desired layout from AnySoftKeyboard's Settings->Keyboards menu.
Repo Type:svn
Repo:http://softkeyboard.googlecode.com/svn/trunk/LanguagePacks/Catalan
-Build Version:20110220,3,1560,patch=xml.patch;rules.patch,\
+Build Version:20110220,3,1560,patch=xml.patch,\
update=force,init=rm -rf bin/ gen/,extlibs=LanguagePacks/ca.xml.gz,\
srclibs=AnySoftKeyboard-API@b21d8907;AnySoftKeyboardTools@73e9a09496,prebuild=\
sed -i 's@\(android.library.reference.1=\).*@\1$$AnySoftKeyboard-API$$@' project.properties && \
mkdir -p dict/ res/raw/ && gunzip -c libs/ca.xml.gz > dict/words.xml && rm -rf assets/ libs/,\
-build=ant dict -f rules.xml
+build=java -jar $$AnySoftKeyboardTools$$/makedict/makedict.jar
Auto Update Mode:None
Update Check Mode:None
diff --git a/metadata/com.anysoftkeyboard.languagepack.catalan/rules.patch b/metadata/com.anysoftkeyboard.languagepack.catalan/rules.patch
deleted file mode 100644
index 6133d66675..0000000000
--- a/metadata/com.anysoftkeyboard.languagepack.catalan/rules.patch
+++ /dev/null
@@ -1,18 +0,0 @@
-diff --git a/rules.xml b/rules.xml
-new file mode 100644
-index 0000000..575a987
---- /dev/null
-+++ b/rules.xml
-@@ -0,0 +1,12 @@
-+
-+
-+
-+
-+
-+
-+
-+
-+
diff --git a/metadata/com.anysoftkeyboard.languagepack.danish.txt b/metadata/com.anysoftkeyboard.languagepack.danish.txt
index 9163f50d65..cc827970a9 100644
--- a/metadata/com.anysoftkeyboard.languagepack.danish.txt
+++ b/metadata/com.anysoftkeyboard.languagepack.danish.txt
@@ -19,12 +19,12 @@ the desired layout from AnySoftKeyboard's Settings->Keyboards menu.
Repo Type:svn
Repo:http://softkeyboard.googlecode.com/svn/trunk/LanguagePacks/Danish
-Build Version:20100614,2,1081,patch=xml.patch;rules.patch,\
+Build Version:20100614,2,1081,patch=xml.patch,\
update=force,init=rm -rf bin/ gen/,extlibs=LanguagePacks/da.xml.gz,\
srclibs=AnySoftKeyboard-API@b21d8907;AnySoftKeyboardTools@73e9a09496,prebuild=\
sed -i 's@\(android.library.reference.1=\).*@\1$$AnySoftKeyboard-API$$@' project.properties && \
mkdir -p dict/ res/raw/ && gunzip -c libs/da.xml.gz > dict/words.xml && rm -rf assets/ libs/,\
-build=ant dict -f rules.xml
+build=java -jar $$AnySoftKeyboardTools$$/makedict/makedict.jar
Auto Update Mode:None
Update Check Mode:None
diff --git a/metadata/com.anysoftkeyboard.languagepack.danish/rules.patch b/metadata/com.anysoftkeyboard.languagepack.danish/rules.patch
deleted file mode 100644
index 6133d66675..0000000000
--- a/metadata/com.anysoftkeyboard.languagepack.danish/rules.patch
+++ /dev/null
@@ -1,18 +0,0 @@
-diff --git a/rules.xml b/rules.xml
-new file mode 100644
-index 0000000..575a987
---- /dev/null
-+++ b/rules.xml
-@@ -0,0 +1,12 @@
-+
-+
-+
-+
-+
-+
-+
-+
-+
diff --git a/metadata/com.anysoftkeyboard.languagepack.esperanto.txt b/metadata/com.anysoftkeyboard.languagepack.esperanto.txt
index 4aa00ed11c..54c83eeb76 100644
--- a/metadata/com.anysoftkeyboard.languagepack.esperanto.txt
+++ b/metadata/com.anysoftkeyboard.languagepack.esperanto.txt
@@ -19,12 +19,12 @@ the desired layout from AnySoftKeyboard's Settings->Keyboards menu.
Repo Type:svn
Repo:http://softkeyboard.googlecode.com/svn/trunk/LanguagePacks/Esperanto
-Build Version:20100613,2,1082,patch=xml.patch;rules.patch,\
+Build Version:20100613,2,1082,patch=xml.patch,\
update=force,init=rm -rf bin/ gen/,extlibs=LanguagePacks/eo.xml.gz,\
srclibs=AnySoftKeyboard-API@b21d8907;AnySoftKeyboardTools@73e9a09496,prebuild=\
-sed -i 's@\(android.library.reference.1=\).*@\1$$AnySoftKeyboard-API$$@' project.properties && \
+sed -i 's@\(reference.1=\).*@\1$$AnySoftKeyboard-API$$@' project.properties && \
mkdir -p dict/ res/raw/ && gunzip -c libs/eo.xml.gz > dict/words.xml && rm -rf assets/ libs/,\
-build=ant dict -f rules.xml
+build=java -jar $$AnySoftKeyboardTools$$/makedict/makedict.jar
Auto Update Mode:None
Update Check Mode:None
diff --git a/metadata/com.anysoftkeyboard.languagepack.esperanto/rules.patch b/metadata/com.anysoftkeyboard.languagepack.esperanto/rules.patch
deleted file mode 100644
index 6133d66675..0000000000
--- a/metadata/com.anysoftkeyboard.languagepack.esperanto/rules.patch
+++ /dev/null
@@ -1,18 +0,0 @@
-diff --git a/rules.xml b/rules.xml
-new file mode 100644
-index 0000000..575a987
---- /dev/null
-+++ b/rules.xml
-@@ -0,0 +1,12 @@
-+
-+
-+
-+
-+
-+
-+
-+
-+
diff --git a/metadata/com.anysoftkeyboard.languagepack.french_xlarge.txt b/metadata/com.anysoftkeyboard.languagepack.french_xlarge.txt
index 8356577361..5f6197c090 100644
--- a/metadata/com.anysoftkeyboard.languagepack.french_xlarge.txt
+++ b/metadata/com.anysoftkeyboard.languagepack.french_xlarge.txt
@@ -23,13 +23,13 @@ the desired layout from AnySoftKeyboard's Settings->Keyboards menu.
Repo Type:svn
Repo:http://softkeyboard.googlecode.com/svn/trunk/LanguagePacks/FrenchXLarge
-Build Version:20111029,1,2019,patch=rules.patch,init=rm -rf bin/ gen/,update=force,\
+Build Version:20111029,1,2019,init=rm -rf bin/ gen/,update=force,\
srclibs=AnySoftKeyboard-API@b21d8907;AnySoftKeyboardTools@73e9a09496,prebuild=\
-sed -i 's@\(android.library.reference.1=\).*@\1$$AnySoftKeyboard-API$$@' project.properties && \
+sed -i 's@\(reference.1=\).*@\1$$AnySoftKeyboard-API$$@' project.properties && \
mkdir -p dict/ && rm -f release/* res/raw/* && \
sed -i 's/fr_main/words/g' res/values/values.xml && \
wget http://softkeyboard.googlecode.com/svn/trunk/DictionaryTools/xml/fr_xlarge.xml \
--O dict/words.xml,build=ant dict -f rules.xml
+-O dict/words.xml,build=java -jar $$AnySoftKeyboardTools$$/makedict/makedict.jar
Auto Update Mode:None
Update Check Mode:None
diff --git a/metadata/com.anysoftkeyboard.languagepack.french_xlarge/rules.patch b/metadata/com.anysoftkeyboard.languagepack.french_xlarge/rules.patch
deleted file mode 100644
index 6133d66675..0000000000
--- a/metadata/com.anysoftkeyboard.languagepack.french_xlarge/rules.patch
+++ /dev/null
@@ -1,18 +0,0 @@
-diff --git a/rules.xml b/rules.xml
-new file mode 100644
-index 0000000..575a987
---- /dev/null
-+++ b/rules.xml
-@@ -0,0 +1,12 @@
-+
-+
-+
-+
-+
-+
-+
-+
-+
diff --git a/metadata/com.anysoftkeyboard.languagepack.georgian.fdroid.txt b/metadata/com.anysoftkeyboard.languagepack.georgian.fdroid.txt
index 68cb20474b..9edd42270f 100644
--- a/metadata/com.anysoftkeyboard.languagepack.georgian.fdroid.txt
+++ b/metadata/com.anysoftkeyboard.languagepack.georgian.fdroid.txt
@@ -28,22 +28,23 @@ Repo Type:git
Repo:https://github.com/Stichoza/AnySoftKeyboardLanguagePackGeorgian
Build Version:2.0.204,4,!One of the srclibs fails on android update project (at e8b7071461),\
-init=rm -rf bin/ gen/,patch=packageid.patch;xml.patch;rules.patch,\
+init=rm -rf bin/ gen/,patch=packageid.patch;xml.patch,\
srclibs=AnySoftKeyboard-API@b21d8907;AnySoftKeyboardTools@73e9a09496,prebuild=\
echo 'android.library.reference.1=$$AnySoftKeyboard-API$$' >> project.properties && \
echo "android.jar=$$SDK$$/platforms/android-17/android.jar" > ant.properties && \
mkdir -p dict/ res/raw/ && rm -f assets/* && \
wget http://softkeyboard.googlecode.com/svn/trunk/DictionaryTools/xml/ka.xml \
--O dict/words.xml && ant dict -f rules.xml
+-O dict/words.xml,\
+build=java -jar $$AnySoftKeyboardTools$$/makedict/makedict.jar
Build Version:2.1.4,5,eb2334531,\
-init=rm -rf bin/ gen/,patch=packageid.patch;xml.patch;rules.patch,\
+init=rm -rf bin/ gen/,patch=packageid.patch;xml.patch,\
srclibs=AnySoftKeyboard-API@b21d8907;AnySoftKeyboardTools@73e9a09496,\
extlibs=LanguagePacks/ka.xml.gz,prebuild=\
echo 'android.library.reference.1=$$AnySoftKeyboard-API$$' >> project.properties && \
echo "android.jar=$$SDK$$/platforms/android-17/android.jar" > ant.properties && \
mkdir -p dict/ res/raw/ && rm -f assets/* && \
gunzip -c libs/ka.xml.gz > dict/words.xml && rm libs/*.gz,\
-build=ant dict -f rules.xml
+build=java -jar $$AnySoftKeyboardTools$$/makedict/makedict.jar
Auto Update Mode:None
#check com.anysoftkeyboard.languagepack.georgian_full
diff --git a/metadata/com.anysoftkeyboard.languagepack.georgian.fdroid/rules.patch b/metadata/com.anysoftkeyboard.languagepack.georgian.fdroid/rules.patch
deleted file mode 100644
index 6133d66675..0000000000
--- a/metadata/com.anysoftkeyboard.languagepack.georgian.fdroid/rules.patch
+++ /dev/null
@@ -1,18 +0,0 @@
-diff --git a/rules.xml b/rules.xml
-new file mode 100644
-index 0000000..575a987
---- /dev/null
-+++ b/rules.xml
-@@ -0,0 +1,12 @@
-+
-+
-+
-+
-+
-+
-+
-+
-+
diff --git a/metadata/com.anysoftkeyboard.languagepack.greek.txt b/metadata/com.anysoftkeyboard.languagepack.greek.txt
index 35904b8081..56f2711ffc 100644
--- a/metadata/com.anysoftkeyboard.languagepack.greek.txt
+++ b/metadata/com.anysoftkeyboard.languagepack.greek.txt
@@ -20,12 +20,12 @@ the desired layout from AnySoftKeyboard's Settings->Keyboards menu.
Repo Type:svn
Repo:http://softkeyboard.googlecode.com/svn/trunk/LanguagePacks/Greek
-Build Version:20110717,3,1815,patch=xml.patch;rules.patch,\
+Build Version:20110717,3,1815,patch=xml.patch,\
update=force,init=rm -rf bin/ gen/,extlibs=LanguagePacks/gr.xml,\
srclibs=AnySoftKeyboard-API@b21d8907;AnySoftKeyboardTools@73e9a09496,prebuild=\
sed -i 's@\(android.library.reference.1=\).*@\1$$AnySoftKeyboard-API$$@' project.properties && \
mkdir -p dict/ res/raw/ && rm -rf assets/ && mv libs/gr.xml dict/words.xml,\
-build=ant dict -f rules.xml
+build=java -jar $$AnySoftKeyboardTools$$/makedict/makedict.jar
Auto Update Mode:None
Update Check Mode:None
diff --git a/metadata/com.anysoftkeyboard.languagepack.greek/rules.patch b/metadata/com.anysoftkeyboard.languagepack.greek/rules.patch
deleted file mode 100644
index 6133d66675..0000000000
--- a/metadata/com.anysoftkeyboard.languagepack.greek/rules.patch
+++ /dev/null
@@ -1,18 +0,0 @@
-diff --git a/rules.xml b/rules.xml
-new file mode 100644
-index 0000000..575a987
---- /dev/null
-+++ b/rules.xml
-@@ -0,0 +1,12 @@
-+
-+
-+
-+
-+
-+
-+
-+
-+
diff --git a/metadata/com.anysoftkeyboard.languagepack.persian.txt b/metadata/com.anysoftkeyboard.languagepack.persian.txt
index 6830023642..6c172ac421 100644
--- a/metadata/com.anysoftkeyboard.languagepack.persian.txt
+++ b/metadata/com.anysoftkeyboard.languagepack.persian.txt
@@ -24,12 +24,14 @@ Repo Type:git
Repo:https://github.com/pi3ch/persian_anysoftkeyboard
#Uses old format, therefore we won't use ASK-API
-Build Version:20120613-persian-numbers,4,5c341f2e73,patch=xml.patch;rules.patch,\
-srclibs=AnySoftKeyboardTools@73e9a09496,prebuild=\
+Build Version:20120613-persian-numbers,4,5c341f2e73,patch=xml.patch,\
+srclibs=AnySoftKeyboardTools@73e9a09496,build=\
mkdir -p res/raw/ dict/ && rm -rf assets/ gen/ && \
-cp res/xml/pi.xml dict/words.xml && ant dict -f rules.xml && \
+cp res/xml/pi.xml dict/words.xml && \
+java -jar $$AnySoftKeyboardTools$$/makedict/makedict.jar && \
mv res/raw/words_1.dict words_2.dict && \
-cp res/xml/fa.xml dict/words.xml && ant dict -f rules.xml && \
+cp res/xml/fa.xml dict/words.xml && \
+java -jar $$AnySoftKeyboardTools$$/makedict/makedict.jar && \
rm dict/words.xml && mv words_2.dict res/raw/
Auto Update Mode:None
diff --git a/metadata/com.anysoftkeyboard.languagepack.persian/rules.patch b/metadata/com.anysoftkeyboard.languagepack.persian/rules.patch
deleted file mode 100644
index 6133d66675..0000000000
--- a/metadata/com.anysoftkeyboard.languagepack.persian/rules.patch
+++ /dev/null
@@ -1,18 +0,0 @@
-diff --git a/rules.xml b/rules.xml
-new file mode 100644
-index 0000000..575a987
---- /dev/null
-+++ b/rules.xml
-@@ -0,0 +1,12 @@
-+
-+
-+
-+
-+
-+
-+
-+
-+