My version of Ret...
First off this will not work if just copy and pasted into the singular files. I use a R&D namespace while working on crap as to preserve the original files so that will have to be changed. This is my submission/baseline for retribution pally.
Has:
1). Uses EJ guide of rotations (Single,AoE,Undead,Zealotry,etc... ) (*** AoE/Single Threshold is 3 due to dungeons runs. EJ suggest swapping to DS at 5+ target but if you have that many mobs on the tank in heroic DS is not going to help you... you have bigger problems

***)
2). Added a AFKMode settings in the Gui so people like me who like to play by hand don't have to edit a bunch of crap.
3). King buff check code if a druid or another paladin is in the party or raid... if so will buff might.
4). Ghetto Kings from drums check
5). Interrupts that work... rebuke is busted so had to call by ID. Also BE friendly... no Moocow support yet

6). Crusader Check while mounted and will default to Devotion unless in a group or raid then its Retribution when unmounted.
Todo:
1). More Gui option as I'm going to assume some people don't want WoG healing that high (75% if solo) or my choice of Seals (currently have to uncomment if you don't want SoI if solo over SoT).
2). Would love to get timeleft on buffs to actually work right(mainly for Inquisition). Sometimes it works most of the time it doesn't.
3). ??? something will come up eventually
Bugs:
1). If in a raid and your solo in a raid group it will spam SoI and SoT till someone is added to the group.
Notes:
1). Not really fond of the new tanktargeting feature you all added a couple of revisions ago... when mobs die it take like 2-4 sec to finally select another target. During that time is switching target from corpse back to targets really fast and looks very bottish.
Tested:
1). ArchBuddy couple of hours... no troll lovin today(Afk mode).
2). IR various dungeon runs (Afk mode).
3). Test Dummy

4). Old world Raids (played by hand for movement and targeting see notes)