A-codes from rational functions over Galois Rings