Fixed issues regarding function and rule references

Change-Id: I854b147a6776e23f603d0d47e11b7f3b4f16afee
Signed-off-by: mstegmaier <michael-1.stegmaier@uni-ulm.de>