Add script for filling rules; replace tabs to spaces